package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SalesOrderInfo;

/**
 * 销售单明细Service接口
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
public interface ISalesOrderInfoService 
{
    /**
     * 查询销售单明细
     * 
     * @param id 销售单明细主键
     * @return 销售单明细
     */
    public SalesOrderInfo selectSalesOrderInfoById(Long id);

    /**
     * 查询销售单明细列表
     * 
     * @param salesOrderInfo 销售单明细
     * @return 销售单明细集合
     */
    public List<SalesOrderInfo> selectSalesOrderInfoList(SalesOrderInfo salesOrderInfo);

    /**
     * 新增销售单明细
     * 
     * @param salesOrderInfo 销售单明细
     * @return 结果
     */
    public int insertSalesOrderInfo(SalesOrderInfo salesOrderInfo);

    /**
     * 修改销售单明细
     * 
     * @param salesOrderInfo 销售单明细
     * @return 结果
     */
    public int updateSalesOrderInfo(SalesOrderInfo salesOrderInfo);

    /**
     * 批量删除销售单明细
     * 
     * @param ids 需要删除的销售单明细主键集合
     * @return 结果
     */
    public int deleteSalesOrderInfoByIds(Long[] ids);

    /**
     * 删除销售单明细信息
     * 
     * @param id 销售单明细主键
     * @return 结果
     */
    public int deleteSalesOrderInfoById(Long id);
}
